#include <iostream>

#include "Window.h"

Window::Window(int width, int height)
        : width(width), height(height)
{
}

Window::~Window()
{
}

void Window::open()
{
    GraphicsWrapper::openWindow(width, height);
}

void Window::render()
{
    GraphicsWrapper::clear();
    GraphicalComposite::render(Position(0, 0));
    GraphicsWrapper::flip();
}
